<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
            font-family: "逸轩字体";
            src: url('./font1/方正手迹.ttf');
        }

        @font-face {
            font-family: "webfont";
            font-display: swap;
            src: url('./font2/webfont.eot');
            /* IE9 */
            src: url('./font2/webfont.eot?#iefix') format('embedded-opentype'),
                /* IE6-IE8 */
                url('./font2/webfont.woff2') format('woff2'),
                url('./font2/webfont.woff') format('woff'),
                /* chrome、firefox */
                url('./font2/webfont.ttf') format('truetype'),
                /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
                url('./font2/webfont.svg#webfont') format('svg');
            /* iOS 4.1- */
        }

        .title1 {
            font-size: 100px;
            font-family: '逸轩字体';
        }

        .title2 {
            font-size: 100px;
            font-family: 'webfont';
        }
    </style>
</head>

<body>
    <h1 class="title1">春风得意马蹄疾，不信人间有别离</h1>
    <h1 class="title2">春风得意马蹄疾，不信人间有别离</h1>
</body>

</html>